package cn.edu.xhu.library_management.book.service;

import cn.edu.xhu.library_management.book.entity.LmBookCategory;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 21086
* @description 针对表【lm_book_category】的数据库操作Service
* @createDate 2023-03-14 09:46:16
*/
public interface LmBookCategoryService extends IService<LmBookCategory> {
    /**
     * 通过父类Id，查询子类
     * @return
     */
    public List<LmBookCategory> findCategoryByPId(Long pid);

    List<LmBookCategory> searchCategoryByCodeOrName(Integer type, String content);
}
